package com.example.demo.client.vm.cssmqry.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-30 18:02:46
 */
@Alias("GetParentMenuVm")
@ApiModel
public class GetParentMenuVm implements Serializable {
    private static final long serialVersionUID = 8844949660580524710L;
    @ApiModelProperty("菜单ID")
    private Long id;
    @ApiModelProperty("菜单名称")
    private String nameCn;

    public void setId(Long id) {
        this.id = id;
    }

    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }

    public Long getId() {
        return id;
    }

    public String getNameCn() {
        return nameCn;
    }

    @Override
    public String toString() {
        return "GetParentMenuVm{" +
            "id=" + id +
            ", nameCn='" + nameCn + '\'' +
            '}';
    }
}
